cmake_minimum_required (VERSION 3.12)

project (test_main)
add_definitions(-std=c++17)
 
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)
include_directories(${PROJECT_SOURCE_DIR}/src)
add_subdirectory(${PROJECT_SOURCE_DIR}/src)

aux_source_directory(${PROJECT_SOURCE_DIR}/test ALL_SRCS)

add_executable(test_main ${ALL_SRCS})
target_link_libraries(test_main mztool)
